<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
		
		<script type=text/javascript>
			var out= function(){
				var memberLoginName=document.getElementById("memberLoginName").value;
				var startDate=document.getElementById("startDate").value;
				var endDate=document.getElementById("endDate").value;
				var state=document.getElementById("state").value;
				location.href='<%=basePath%>/admin/ti/moneyTiListOut.shtml?memberLoginName='+memberLoginName+"&startDate="+startDate+"&endDate="+endDate+"&state="+state;
				
			}
		</script>
	</head>
	<body oncontextmenu="return false">
		<div id="scrollContent">
			<div class="box2" panelTitle="现金分提现管理" roller="true">
			
<form id="queryForm" name="queryForm" method="post">
		<jodd:form scopes="request">
				<table>
					<tr>
						<td>会员账号:</td>
						<td>
							<input type="text"  name="memberLoginName" id="memberLoginName"/>
						</td>
						<td>开始时间:</td>
						<td>
							<input type="text" name="startDate" id="startDate" class="date"/>
						</td>
						<td>结束时间：</td>
						<td>
							<input type="text" name="endDate" id="endDate" class="date"/>
						</td>
						<td>状态:</td>
						<td>
							<select id="state" name="state" >
								<option value="">未选择</option>
							
								<option value="10">未处理</option>
							  	<option value="20">已批准</option>
							  	<option value="30">已拒绝</option>
							   
							</select>
						</td>
						<td>
							<button type="submit">
								<span class="icon_find">查询</span>
							</button>
						</td>
						<td>
							<button type="button" onclick="out();">
								<span class="icon_xls">导出</span>
							</button>
						</td>
						
					
						
					</tr>
				</table>
		
		</jodd:form>
	
				<table class="tableStyle">
					<tr align="center">
						<th>会员编号</th>
						<th>提现方式</th>
						
						<th>提现金额</th>
						<th>手续费</th>
						<th>实付金额</th>
						
						<th>提交时间</th>
						<th>状态</th>
						
						
						<th>操作</th>
						<th>快捷审核</th>
					</tr>
	<c:forEach items="${pagination.pageList}"  var="o" >
					<tr align="center">
						<td>${o.memberLoginName}</td>
						<td >
							<c:if test="${o.type==10}">银行卡</c:if>
							<c:if test="${o.type==20}">财付通</c:if>
							<c:if test="${o.type==30}">支付宝</c:if>
							
						</td>
						
						<td>${o.num}</td>
						<td>${o.fei}</td>
						<td><font color="red">${o.shi}</font></td>
						 
						<td>${o.tiDate} </td>
							
						<td>
							<c:if test="${o.state==10}"><span style="color: red">未处理</span></c:if>
							<c:if test="${o.state==20}">已批准</c:if>
							<c:if test="${o.state==30}">已拒绝</c:if>
						</td>
							
						 
						<td>
							<c:if test="${o.state==10}">
								<a href="admin/ti/moneyTiShow.shtml?id=${o.id}">查看/审核</a>
							</c:if>
							<c:if test="${o.state!=10}">
								<a href="admin/ti/moneyTiShow.shtml?id=${o.id}">查看详情</a>
							</c:if>
						</td>
						<td>
							 
							<c:if test="${o.state==10}">
								<a href="<%=basePath%>/admin/ti/moneyTiCommit.shtml?id=${o.id}"  onclick="return confirm('确认审核通过?')" >审核通过</a>
							</c:if>
						</td>
					</tr>
	</c:forEach>
				</table>
				
			<page:pageControl />		
				
</form>
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>